def make_func(a):
    def add(b):
        return a + b

    a = 3
    return add

f = make_func(5)
print(f(4))
